{extend name="public/base" /}

{block name="body"}	
		
		<div class="global_bg" style="background: url(UPLOADS/{$term.parent.tag.bgimg}) no-repeat top center; width: 100%;min-height: 1028px; height: auto;overflow: hidden; position: absolute; top: 100px;">
			<div class="gloabl_con">
				<div class="comn_title">{$term.parent.name}</div>
				<div class="mainbox">
					<div class="mmsj_list">
					
						<div id="mmtab">
    
						    <div class="mmnav">
						        <ul>
						            {foreach $term['parent']['child'] as $key => $t}
										<a href="{$t.url}"><li {if isset($term['address'][$t['id']]) }class="active"{/if}><span {if current($t) === end($t)}style="border: none;"{/if}>{$t.name}</span></li></a>	
									{/foreach}
						            
						        </ul>
						      
						    </div>
						    <div class="news_content">
						        <div class="box" style="display:block;">
						            <ul>
										{foreach $term.content.page_page.limit_5 as $c}
											<li><a href="{$c.url}">
											<div class="newlist_le"><img src="UPLOADS/{$c.cover_img}" alt="" /></div>
											<div class="newlist_rg">
											<p class="tit">{$c.name}</p>
											{$c.description}
											<p><img src="images/view.png" /> <?php echo date('Y-m-d',$c['create_time']);?></p>
											</div> 
											</a>
											</li>
										{/foreach}
						            	
						            	
						            	
						            </ul>
						            <div class="page_news">
										{Wh:page count="$term['content']['limit_5']['pageCount']"}
											{if ($p.type == 'last')}
												<a  href="{$p.url}"><span>上一页</span></a>
											{elseif ($p.type == 'next')}
												<a  href="{$p.url}"><span>下一页</span></a>
											{else /}		
												<a  href="{$p.url}"><span {if ($p.in)} class="on" {/if} >{$p.text}</span></a>
											{/if}	
										{/Wh:page}
									</div>
						        </div>
						       
						           
						            
						    </div>
						        
						 </div>
						    
						   
						    
					</div>
				</div>
					
					
			</div>
		
			
{/block}			